﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructure;
using WsdShop.Model;
using WsdShop.Model.SearchModels;

namespace WsdShop.IService
{
    public interface IAdService
    {
        List<AdConfiguration> AdManage(AdSearchModel search, out int total);

        AdConfiguration AdEdit(int Id);

        Result AdEditSubmit(AdConfiguration submitData, int currentUserId);

        Result DelAd(int Id, int currentUserId);
    }
}
